package org.helgoboss.document_database

trait Document {
    def bucket: Bucket
    
    def save

    def keys: Set[String]
    
    def get[P](key: String): Option[P]
    
    def apply(key: String): Option[Any]
        
    def update(key: String, value: Any)
        
    def remove(key: String)
}